<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>我购买的课程-<?php echo $cfg_webname;?></title>
<link href="<?php echo $cfg_basehost;?>/css/v2_index.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<?php echo $cfg_basehost;?>/js/jquery.js"></script>
<script type="text/javascript" src="<?php echo $cfg_basehost;?>/js/jquery.superslide.2.1.1.js"></script>
<script language="javascript" type="text/javascript" src="<?php echo $cfg_basehost;?>/system/gzs.ajax.js"></script>
<script type="text/javascript">
function CheckLogintop(){
var taget_obj = document.getElementById('_userlogin');
myajax = new DedeAjax(taget_obj,false,false,'','','');
myajax.SendGet2("/user/ajax_loginsta.php");
DedeXHTTP = null;
}
</script>
<style type="text/css">
.box-operation{margin-top:15px;}
.ygkc-ddd-sj{font-size:14px;line-height:20px;height:20px;color:#999;padding-bottom:10px;}
.ygkc-ddd-sj span{padding-right:10px;}
.ygkc-list{background:#f5f5f5;overflow:hidden;padding:15px;margin-bottom:15px;border-radius:5px;}
.ygkc-list img{float:left;width:200px;height:113px;display:block;border-radius:5px;}
.study-hd{padding-left:215px;height:113px;position:relative;}
.study-hd .h2-title{font-size:18px;line-height:26px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.study-hd .jiage{font-size:20px;color:#f30;display:inline-block;padding-top:10px;position:absolute;bottom:0;}
.study-hd .quxuexi{position:absolute;bottom:0;right:0;}
.study-hd .quxuexi a{background:#ff700a;color:#fff;font-size:14px;padding:4px 15px;border-radius:3px;}
.study-hd .quxuexi a:hover{background:#e4680f;}
.study-hd .btn-tools{display:inline-block;background-color:#0271b6;color:#fff;width:100px;height:30px;line-height:30px;text-align:center;font-size:14px;margin-top:10px;border-radius:15px;}

.content_list{width:875px;}
.content_list .content_item{width:415px;margin-right:22px;}
.content_item img{width:415px;height:233px;}
.content_item .play-cover{position:absolute;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.35);opacity:0;border-radius:8px;}
.content_item:hover .play-cover{opacity:1;}
.content_item .play-cover .play-cover2{position:absolute;width:120px;height:42px;line-height:42px;content:"";left:50%;top:50%;margin:-45px 0 0 -58px;background:#ff700a;font-size:16px;color:#fff;text-align:center;border-radius:5px;}

/*无内容时显示*/
.gzs-wushuju{padding:30px 0;display:none;}
.gzs-wushuju img{width:100px;height:100%;margin:0 auto;display:block;}
.gzs-wushuju .wu-title{text-align:center;font-size:14px;color:#757575;padding-top:10px;}
</style>
</head>
<body>

<?php include(DEDEMEMBER."/templets/head.htm");?>
<?php include(DEDEMEMBER."/templets/left.htm");?>

<!-- 右侧功能定位 -->
<div class="user-right">
<div class="uc-box uc-main-box">
<div class="uc-content-box order-list-box">
<div class="box-hd"><h1 class="title">我购买的课程</h1></div>

<!-- 购课列表 -->
<div class="box-operation">
<div class="m-header-video">

<!-- 无数据显示的内容 -->
<div class="gzs-wushuju"><img src="<?php echo $mcfg_basehost;?>/m-images/kc-wu-dd.png"><p class="wu-title">您还没有购买课程哦</p></div>
<!-- 无数据显示的内容 End --> 

<ul class="content_list clearfix">
{dede:datalist}   
<?php $turl = GetTypeDeurl($fields['tid']) ; ?>
<li class="content_item">
<a href="<?php echo $turl; ?>" class="link">
<img class="lazy-img" data-original="<?php echo $fields['bigpic']; ?>">
<div class="main_title"><?php echo $fields['pname']; ?></div>
<div class="sub_title">
<em class="price">￥<?php echo $fields['price']; ?></em>
<em class="item_right fr">{dede:field.stime function="GetDateMK(@me)" /} 购买</em>
</div>
<div class="play-cover"><span class="play-cover2">开始学习</span></div>
</a>
</li>
{/dede:datalist}
</ul>
</div>
</div>
<!-- 购课列表 End -->

<!-- 分页 -->
<div id="showpage_min">{dede:pagelist listsize=5 /}</div>
<!-- 分页 End -->

</div>
</div>
</div>
<!-- 右侧功能定位 End -->

</div>

<?php include(DEDEMEMBER."/templets/footer.htm");?>

<script type="text/javascript" src="<?php echo $cfg_basehost;?>/js/jquery.lazyload.js"></script>
<script type="text/javascript">
!function(){var n,f={};f.curr=1,n=20;var a=function(){},c=function(){$(".lazy-img").lazyload({effect:"fadeIn"})},i=function(){a(),c()};i()}();
</script>

<script>
if($(".content_item").length < 1 ){ 
$(".gzs-wushuju").show();
}
</script>

</body>
</html>